package com.followmeandroid.messages;

/**
 * <p>Title: RegisterRequest</p>
 * <p>Description: Container class for storing
 * registration requests for the server.</p>
 * @author Adam Drews
 * @email adam.drews@my.uwrf.edu
 * @date 11/21/2014
 * @team Tyler Johnson
 * @email tyler.johnson@my.uwrf.edu
 * @team Nicholas Thorp
 * @email nicholas.thorp@my.uwrf.edu
 */
public class RegisterRequest {
    private String userName;

    private String email;

    private String password;

    private String lastname;

    private String firstname;

    /**
     * Constructor for a registration request for the server.
     * @param _email        Email address of the user.
     * @param _UserName     User name of the user.
     * @param _passworD     Password for the user.
     * @param fname         First name of the user.
     * @param lname         Last name of the user.
     */
    public RegisterRequest(String _email, String _UserName, String _passworD, String fname, String lname) {
        email = _email;
        userName = _UserName;
        password = _passworD;
        firstname = fname;
        lastname = lname;

    }

    /**
     * Returns the user name for the request.
     * @return userName     The user name of the user.
     */
    public String getUserName() {
        return userName;
    }

    /**
     * Sets the value of the user name for the request.
     * @param userName      The user name of the user.
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * Returns the email address of the user.
     * @return email        The user's email address.
     */
    public String getEmail() {
        return email;
    }

    /**
     * Sets the email address of the user for the request.
     * @param email         The user's email address.
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * Returns the password of the user for the request.
     * @return password     The user's password.
     */
    public String getPassword() {
        return password;
    }

    /**
     * Sets the password of the user for the request.
     * @param password      The user's password.
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * Returns the last name of the user for the request.
     * @return lastname     The user's last name.
     */
    public String getLastname() {
        return lastname;
    }

    /**
     * Sets the last name of the user for the request.
     * @param lastname      The user's last name.
     */
    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    /**
     * Returns the first name of the user for the request.
     * @return firstname    The user's first name.
     */
    public String getFirstname() {
        return firstname;
    }

    /**
     * Sets the first name of the user for the request.
     * @param firstname     The user's first name.
     */
    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }
}
